<extend name="_layout/head" />
<block name="content">
	<div class="wrapper mt20">
        <div class="forum-bdbox">
            <div class="forum-bigsch">
                <form action="{:U('search')}">
                    <input class="ui-txtin" type="text" name="keyword" id="keyword" value="{$Think.get.keyword}" /><button class="submit ui-btn-primary ui-btn-big" ><i class="iconfont icon-search"></i>搜索</button>
                </form>
            </div>
            <div class="clearfix lh32 mt20">
                <div class="fl">搜索结果：找到“<span class="txt-error">{$Think.get.keyword}</span>”相关内容 {$count} 个</div>
                <div class="fr">
                    <!--<select name="" class="ui-txtin">
                        <option value="">1年内</option>
                    </select>
                    <select name="" class="ui-txtin ml10">
                        <option value="">所有版块</option>
                    </select>
                    <select name="" class="ui-txtin ml10">
                        <option value="">相关程度</option>
                    </select>-->
                </div>
            </div>
            
            <ul class="forum-sch-list">
            	<volist name="results" id="item">
                <li class="cell">
                    <div class="tit"><a href="{:U('view?id='.$item['id'])}" target="_blank">{$item.title}</a></div>
                    <div class="info"><span class="time">{$item.publish_time|format_time}</span><span>查看：{$item.views}</span><span>来源：{$item.source}</span></div>
                    <div class="desc">{$item.content|htmlspecialchars_decode|strip_tags|msubstr=###,150,'...'}</div>
                </li>
                </volist>
            </ul>
            
            <div class="mt25">
                <div class="ui-page">
                    {$page}
                </div>
            </div>
        </div>
    </div>
</block>
